package com.beidouapp.domain.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface TranslateField
{   
    /**
     * 转换器名称
     * @return
     */
    String translatorName() default "__DictTranslator__";
    
    /**
     * 转换字段
     * @return
     */
    String targetFieldName() default "";
    
    /**
     * 
     */
    String fullQualifiedName() default "";
}

